package com.htgd.gardenexpo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.htgd.gardenexpo.entity.GeConCompetitionGroup;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

@Data
public class GeConCompetitionSportsDTO {

    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "赛事名称")
    private String name;

    @ApiModelProperty(value = "赛事线路id")
    private String routeId;

    @ApiModelProperty(value = "赛事线路名称")
    private String routeName;

    @ApiModelProperty(value = "赛事线路图片")
    private String routeImg;

    @ApiModelProperty(value = "绑定方式（1手环，2人脸）")
    private String binding;

    @ApiModelProperty(value = "标签")
    private String lable;

    @ApiModelProperty(value = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime startTime;

    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime endTime;

    @ApiModelProperty(value = "赛事类型")
    private String type;

    @ApiModelProperty(value = "组别")
    private Integer group;

    @ApiModelProperty(value = "活动状态")
    private String active;

    @ApiModelProperty(value = "是否置顶")
    private Integer isTop;

    @ApiModelProperty(value = "审批状态")
    private Integer status;

    @ApiModelProperty(value = "主图")
    private String mainImage;

    @ApiModelProperty(value = "地点")
    private String place;

    @ApiModelProperty(value = "竞赛规程")
    private String playDescribe;

    @ApiModelProperty(value = "报名须知")
    private String notes;

    @ApiModelProperty(value = "比赛声明")
    private String details;

    @ApiModelProperty(value = "赛事简介")
    private String introduction;

    @ApiModelProperty(value = "热门状态（'0':不热门，'1':热门）")
    private String hot;

    @ApiModelProperty(value = "路线美景json数组")
    private String routeScenery;

    @ApiModelProperty(value = "分组对象列表")
    private List<GeConCompetitionGroup> groups;

    @ApiModelProperty(value = "报名开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime startDate;

    @ApiModelProperty(value = "报名结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime endDate;
}
